<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="format-detection" content="telephone=no" />
<meta name="apple-touch-fullscreen" content="YES" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="MobileOptimized" content="320" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<title>上品生活</title>
<link href="css/css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery1.42.min.js"></script>
</head>

<body>
  <div class="top"><a href="#"><img src="images/tb.png"/></a>
    <p>发布商品</p>
  </div>

<div class="S-file_add">
  <a href="javascript:checkupfileImg('fileone');"><img src="images/fb.jpg" id="fileoneimg" /></a><a href="javascript:checkupfileImg('filetwo');"><img src="images/fb.jpg" id="filetwoimg" /></a>
  <div style="display:none;"><input type="file" name="fileone" id="fileone" onchange="javascript:setImagePreview('fileone');" /> <input type="file" name="filetwo" id="filetwo" onchange="javascript:setImagePreview('filetwo');" /></div>
</div>
<script type="text/javascript">
function checkupfileImg(id){
	$("#"+id).click();
	$("#"+id+"img").css({"height":$("#"+id+"img").height()+"px"});
}
//下面用于图片上传预览功能
function setImagePreview(avalue) {
var docObj=document.getElementById(avalue);
 
var imgObjPreview=document.getElementById(avalue+"img");
var patn = /\.jpg$|\.jpeg$|\.gif$/i;
if (!patn.test(docObj.value)) {
	alert("您选择的似乎不是图像文件。");
	return false;
}
if(docObj.files &&docObj.files[0])
{
//火狐下，直接设img属性
//imgObjPreview.src = docObj.files[0].getAsDataURL();
 
//火狐7以上版本不能用上面的getAsDataURL()方式获取，需要一下方式
imgObjPreview.src = window.URL.createObjectURL(docObj.files[0]);
}
else
{
  alert("浏览器不支持!")
  return false;
}
return true;
}
</script>
<div class="height25"></div>
<div class="S-form_box2 S-form_box2_sp">
      <p class="noneborder"><label>标题：</label><input type="text" name="" placeholder="请输入" class="text"></p>
      <p class="checkFour"><label><input type="radio" name="type" value="1" checked="checked" /> 拍卖</label><label><input type="radio" name="type" value="2" /> 一口价</label><label><input type="radio" name="type" value="3"  /> 拍卖 & 一口价</label><label><input type="radio" name="type" value="4" /> 低价区</label></p>
      <p><label>原价(选填)：</label><input type="text" name="" placeholder="请输入" class="text"></p>
      <p><label>拍卖起步价：</label><input type="text" name="" placeholder="请输入" class="text"></p>
      <p><label>拍卖截止日：</label><input type="date" name="" placeholder="请输入" class="text"></p>
      <p><label>一口价：</label><input type="text" name="" placeholder="请输入" class="text"></p>
      <p><label>低价区：</label><input type="text" name="" placeholder="请输入（5元以下）" class="text"></p>
      <p class="checkFour"><label><input type="radio" name="type1" value="1" checked="checked" /> 首页发布7天5元</label><label><input type="radio" name="type1" value="2" /> 包邮</label><label><input type="radio" name="type1" value="3"  /> 不包邮</label></p>
      <p><label>同城运费：</label><input type="text" name="" placeholder="请输入" class="text"></p>
      <p><label>其他城市：</label><input type="text" name="" placeholder="请输入" class="text"></p>
      <p class="spSelect"><label>产品分类:</label><select name=""><option>--请选择--</option><option>衣服</option><option>裤子</option></select></p>
      <p class="spSelect"><label>新旧程度:</label><select name=""><option>--请选择--</option><option>90%</option><option>80%</option></select></p>
      <p><label>品牌：</label><input type="text" name="" placeholder="请输入（选填）" class="text"></p>
      <p class="spSelect"><label>所在区域:</label><select name=""><option>省</option></select><select name=""><option>市</option></select></p>
      <p><label>联系人：</label><input type="text" name="" placeholder="请输入（默认联系方式）" class="text"></p>
      <p><label>电话：</label><input type="text" name="" placeholder="请输入" class="text"></p>
      <p><label>微信号：</label><input type="text" name="" placeholder="请输入" class="text"></p>
      <p><label>QQ：</label><input type="text" name="" placeholder="请输入" class="text"></p>
      <p style="height:130px;"><label style="float:left;">详细描述：</label><textarea name="" placeholder="请输入" class="text"></textarea></p>
      <div class="clear"></div>
</div>
<div class="S-form_box"><input type="submit" class="sub" value="发布提交"></div>  
<div style="height:100px"></div>
  <!--<div class="Post_top">
  <p><a href="#"><img src="images/fb.jpg"/></a></p>
  <p><a href="#"><img src="images/fb.jpg"/></a></p>
  </div>
  <div class="Post_top_01">标题 <input name="" type="text" style="width:95%;border:solid 1px #f9a400;padding:0 5px; border-radius:5px; margin:0 auto; height:30px;"/></div>
  <div class="Post_top_02">
 	 <p><input name="" type="radio" value="" />拍卖</p>
     <p><input name="" type="radio" value="" />一口价</p>
     <p><input name="" type="radio" value="" />拍卖& 一口价</p>
     <p><input name="" type="radio" value="" />低价区</p>
  </div>
  <div class="clear"></div>
  <div class="Post_nr">
  		<ul>
        	<li>原价(选填)  <span><form id="mainform" onsubmit="return chkCH();" method="get" class="forms" > 
                    <label class="input-groups">
                        <input type="text" style="width:100%;padding:0 5px; border-radius:5px;border:solid 1px #f9a400; margin:0 auto; height:25px;"class="sinput inputstyle" id="q" name="q" autocomplete="off" onkeyup="AutoComplete.queryGO(event, this, 'up');" onkeydown="AutoComplete.queryGO(event, this, 'down');" placeholder="输入...">
                    </label>
                </form></span>
             </li>
             <li>拍卖起步价<span><form id="mainform" onsubmit="return chkCH();" method="get" class="forms" > 
                    <label class="input-groups">
                        <input type="text" style="width:100%;padding:0 5px; border-radius:5px;border:solid 1px #f9a400; margin:0 auto; height:25px;"class="sinput inputstyle" id="q" name="q" autocomplete="off" onkeyup="AutoComplete.queryGO(event, this, 'up');" onkeydown="AutoComplete.queryGO(event, this, 'down');" placeholder="输入...">
                    </label>
                </form></span>
             </li>
             <li>拍卖截止日期<span><form id="mainform" onsubmit="return chkCH();" method="get" class="forms" > 
                    <label class="input-groups">
                        <input type="text" style="width:100%;padding:0 5px; border-radius:5px;border:solid 1px #f9a400; margin:0 auto; height:25px;"class="sinput inputstyle" id="q" name="q" autocomplete="off" onkeyup="AutoComplete.queryGO(event, this, 'up');" onkeydown="AutoComplete.queryGO(event, this, 'down');" placeholder="输入...">
                    </label>
                </form></span>
             </li>
             <li>一口价<span><form id="mainform" onsubmit="return chkCH();" method="get" class="forms" > 
                    <label class="input-groups">
                        <input type="text" style="width:100%;padding:0 5px; border-radius:5px;border:solid 1px #f9a400; margin:0 auto; height:25px;"class="sinput inputstyle" id="q" name="q" autocomplete="off" onkeyup="AutoComplete.queryGO(event, this, 'up');" onkeydown="AutoComplete.queryGO(event, this, 'down');" placeholder="输入...">
                    </label>
                </form></span>
             </li>
             <li>低价区（5元以下）<span><form id="mainform" onsubmit="return chkCH();" method="get" class="forms" > 
                    <label class="input-groups">
                        <input type="text" style="width:100%;padding:0 5px; border-radius:5px;border:solid 1px #f9a400; margin:0 auto; height:25px;"class="sinput inputstyle" id="q" name="q" autocomplete="off" onkeyup="AutoComplete.queryGO(event, this, 'up');" onkeydown="AutoComplete.queryGO(event, this, 'down');" placeholder="输入...">
                    </label>
                </form></span>
             </li>
        </ul>
  </div>
  <div class="Post_nr_01">
  	<p><input name="" type="radio" value="" />首页发布7天5元</p>
    <p><input name="" type="radio" value="" />包邮</p>
    <p><input name="" type="radio" value="" />不包邮</p>
  </div>
  <div class="Post_nr_02">
  <p>同城运费 <input name="" type="text"class="classInputText" style=" width:60px; /"></p>
  <p>其他城市运费 <input name="" type="text" class="classInputText" style=" width:60px;/"></p>
  </div>
  <div class="Post_nr_03">
  	   <p>产品分类<select name="" class="classselect"></select></p>
       <p>产品分类<select name="" class="classselect"></select></p>
       </div>
   <div class="Post_nr_04">
   		<p class="p2">品牌（选填）<input name="" type="text" style="border:solid 1px #f9a400; padding:0 5px; border-radius:5px; margin:0 auto; height:25px;"/></p>
   </div>
    <div class="Post_nr_05">
    <p>所在区域</p>
    <span>省份 <select name="" class="classselect"></select></span>
    <span>省份 <select name="" class="classselect"></select></span>
    </div>
    <div class="Post_bot_01">
    	<p>联系人<input name="" type="text" class="classInputText"/>（默认联系方式） </p>
        <p>电&nbsp;&nbsp;&nbsp;话<input name="" type="text" class="classInputText"/> </p>
        <p>微信号<input name="" type="text"  class="classInputText"/> </p>
        <p>	Q&nbsp;&nbsp;&nbsp;Q<input name="" type="text" class="classInputText"/> </p>
    </div>
  <div class="Post_bot_02">
    <p>详细描述 <textarea name="" cols="" rows="" class="classtextarea"></textarea></p>
    <span><a href="#"><img src="images/fb_03.jpg"/></a></span>
    </div>-->
    
<div id="master_foot">
  <a href="" class="cover"><img src="images/bottom_10.png" /><span>首页</span></a><a href=""><img src="images/bottom_12.png" /><span>商品</span></a><a href=""><img src="images/bottom_03.png" /><span>发布</span></a><a href="" class="xx"><i>1</i><img src="images/bottom_05.png" /><span>信息</span></a><a href=""><img src="images/bottom_07.png" /><span>我的</span></a>
</div>
</body>
</html>
